Skip to content

Fix minimal-versions CI failure after codspeed removal#760

Merged
samueltardieu merged 1 commit intomainfrom
copilot/remove-codspeed-from-ci
Mar 10, 2026
Merged

Fix minimal-versions CI failure after codspeed removal#760
samueltardieu merged 1 commit intomainfrom
copilot/remove-codspeed-from-ci

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 10, 2026

Removing codspeed-criterion-compat dropped the implicit regex floor, causing -Zminimal-versions to resolve regex to v1.5.0 which no longer compiles with current Rust.

Changes

  • Cargo.toml: Re-add regex = "1.11.3" as a dev-dependency floor to prevent -Zminimal-versions from selecting a broken regex version. This is a transitive constraint via criterion 0.5, not a direct use.
  • copilot-instructions.md: Document the minimal-versions test workflow in Essential Commands, Critical Validation Rules, and Common Pitfalls — including the pattern of needing explicit floor entries for troublesome transitive dependencies.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@samueltardieu samueltardieu marked this pull request as ready for review March 10, 2026 09:09
Copilot AI changed the title [WIP] Remove codspeed from CI and benchmarks Remove CodSpeed; use criterion directly in benchmarks Mar 10, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

📊 iai-callgrind Benchmark Results

✅ 1 Improvement(s)

| Benchmark | Base | PR | Change | % |
|-----------|------|----|---------|
| iai_algos::corner_to_corner_idastar | 194,360 | 194,029 | -331 | -0.17% |

➡️ 19 Unchanged (within ±0.1%)

Click to expand
Benchmark Instructions
iai_algos::corner_to_corner_astar 150,136
iai_algos::corner_to_corner_bfs 2,947,648
iai_algos::corner_to_corner_bfs_bidirectional 3,881,580
iai_algos::corner_to_corner_dfs 3,592,021
iai_algos::corner_to_corner_dijkstra 3,734,617
iai_algos::corner_to_corner_fringe 216,764
iai_algos::corner_to_corner_iddfs 3,718,131
iai_algos::no_path_astar 3,348,856
iai_algos::no_path_bfs 2,756,526
iai_algos::no_path_bfs_bidirectional 3,383,731
iai_algos::no_path_dfs 3,629,686
iai_algos::no_path_dijkstra 3,691,818
iai_algos::no_path_fringe 4,417,030
iai_edmondskarp::wikipedia_example_dense 38,324
iai_edmondskarp::wikipedia_example_sparse 65,760
iai_kuhn_munkres::kuhn_munkres_size_128 4,965,503
iai_kuhn_munkres::kuhn_munkres_size_32 303,986
iai_kuhn_munkres::kuhn_munkres_size_64 1,434,909
iai_separate_components::bench_separate_components 16,001,270

iai-callgrind measures instructions executed, which is deterministic and not affected by system load.

@github-actions
Copy link
Copy Markdown

📊 iai-callgrind Benchmark Results

➡️ 20 Unchanged (within ±0.1%)

Click to expand
Benchmark Instructions
iai_algos::corner_to_corner_astar 150,136
iai_algos::corner_to_corner_bfs 2,947,648
iai_algos::corner_to_corner_bfs_bidirectional 3,881,580
iai_algos::corner_to_corner_dfs 3,592,021
iai_algos::corner_to_corner_dijkstra 3,734,617
iai_algos::corner_to_corner_fringe 216,764
iai_algos::corner_to_corner_idastar 193,951
iai_algos::corner_to_corner_iddfs 3,718,131
iai_algos::no_path_astar 3,348,856
iai_algos::no_path_bfs 2,756,526
iai_algos::no_path_bfs_bidirectional 3,383,731
iai_algos::no_path_dfs 3,629,686
iai_algos::no_path_dijkstra 3,691,818
iai_algos::no_path_fringe 4,417,030
iai_edmondskarp::wikipedia_example_dense 38,324
iai_edmondskarp::wikipedia_example_sparse 65,772
iai_kuhn_munkres::kuhn_munkres_size_128 4,965,503
iai_kuhn_munkres::kuhn_munkres_size_32 303,986
iai_kuhn_munkres::kuhn_munkres_size_64 1,434,909
iai_separate_components::bench_separate_components 15,993,260

✅ All benchmarks unchanged


iai-callgrind measures instructions executed, which is deterministic and not affected by system load.

Copilot AI changed the title Remove CodSpeed; use criterion directly in benchmarks Fix minimal-versions CI failure after codspeed removal Mar 10, 2026
Co-authored-by: samueltardieu <44656+samueltardieu@users.noreply.github.com>
@samueltardieu samueltardieu force-pushed the copilot/remove-codspeed-from-ci branch from 9a5a00e to 94acc90 Compare March 10, 2026 09:49
@samueltardieu samueltardieu enabled auto-merge March 10, 2026 09:50
@samueltardieu samueltardieu added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit 6c72723 Mar 10, 2026
12 checks passed
@samueltardieu samueltardieu deleted the copilot/remove-codspeed-from-ci branch March 10, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants